package org.x.casemodule.service;

import org.x.casemodule.dto.*;

import java.util.Map;

public interface ScheduleService {
    ScheduleCreateResponse createSchedule(ScheduleCreateRequest request);

    ScheduleCreateResponse updateSchedule(ScheduleUpdateRequest request);

    void deleteSchedule(Long eventId);

    // ScheduleService.java
    Map<String, Object> getView(String view, String date, Boolean includeShared);


    // org/x/casemodule/service/ScheduleService.java
// 在现有接口中添加以下方法
    CourtScheduleResponse shareCourtSchedule(CourtScheduleRequest request);

    // 在 ScheduleService.java 接口中添加以下方法
    ScheduleShareResponse shareSchedule(ScheduleShareRequest request);


    // 外部日历同步接口
    ScheduleSyncResponse syncExternalCalendar(ScheduleSyncRequest request);
}

